<template>
  <div id="app">
    <el-row>
      <el-col :span="24" style="background-color: gray;">
        列中的数据(淘宝网的导航条。。)
      </el-col>
    </el-row>

    <el-row>
      <el-col :span="20" :offset="2" style="background-color: #00FF00;">
          logo部分...(偏移两列)

      </el-col>
    </el-row>

    <el-row :gutter="20">
      <el-col :span="4" :offset="2" >
        <div style="background-color: gainsboro;padding: 10px 0;"> 商品1</div>
      </el-col>
      <el-col :span="4"  >
        <div style="background-color: gainsboro;padding: 10px 0;"> 商品1</div>
      </el-col>
      <el-col :span="4"  >
        <div style="background-color: gainsboro;padding: 10px 0;"> 商品1</div>
      </el-col>
      <el-col :span="4" >
        <div style="background-color: gainsboro;padding: 10px 0;"> 商品1</div>
      </el-col>
      <el-col :span="4" >
        <div style="background-color: gainsboro;padding: 10px 0;"> 商品1</div>
      </el-col>

    </el-row>


    <el-row :gutter="10">
      <el-col :xs="8" :sm="6" :md="4" :lg="3" :xl="1"><div class="grid-content bg-purple"></div></el-col>
      <el-col :xs="4" :sm="6" :md="8" :lg="9" :xl="11"><div class="grid-content bg-purple-light"></div></el-col>
      <el-col :xs="4" :sm="6" :md="8" :lg="9" :xl="11"><div class="grid-content bg-purple"></div></el-col>
      <el-col :xs="8" :sm="6" :md="4" :lg="3" :xl="1"><div class="grid-content bg-purple-light"></div></el-col>
    </el-row>




    <el-row>
      <el-button>默认按钮</el-button>
      <el-button type="primary">主要按钮</el-button>
      <el-button type="success">成功按钮</el-button>
      <el-button type="info">信息按钮</el-button>
      <el-button type="warning">警告按钮</el-button>
      <el-button type="danger">危险按钮</el-button>

      <el-button type="primary" icon="el-icon-delete"></el-button>
    </el-row>
  </div>
</template>
<script>

export default {
  name: 'App',
}

</script>

<style>

  .el-col {
      border-radius: 4px;
    }
    .bg-purple-dark {
      background: #99a9bf;
    }
    .bg-purple {
      background: #d3dce6;
    }
    .bg-purple-light {
      background: #e5e9f2;
    }
    .grid-content {
      border-radius: 4px;
      min-height: 36px;
    }

</style>
